<template>
  <div>
    <mt-swipe :auto="4000">
      <mt-swipe-item v-for="item in lunbolist" :key="item.img_url">
        <img :src="item.img_url" alt />
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>
<style lang="scss">
.mint-swipe {
  /* 轮播图需要手动给高度 */
  height: 200px;
  width: 100% !important;
  .mint-swipe-item {
    &:nth-child(1) {
      background-color: red;
    }
    &:nth-child(2) {
      background-color: green;
    }
    &:nth-child(3) {
      background-color: pink;
    }
  }
}
img {
  width: 100%;
  height: 100%;
}
</style>
<script>
export default {
  props: ["lunbolist"]
};
</script>